]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
networkAgent: Fix showing the WPS message
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 29 Jan 2019 21:48:06 +0000 (22:48 +0100)
committerFlorian Müllner <florian.muellner@gmail.com>
Wed, 30 Jan 2019 16:13:16 +0000 (16:13 +0000)
The message was introduced in commit dfa0750ffdbd, but added to a
non-existent container, whoops.

Spotted by eslint.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/375

js/ui/components/networkAgent.js

index 709d1c2737029a0d57c5c79bab8ec24b95c38a96..08697b39a7abd53fdaf8284db46ad18c48f6a827 100644 (file)
@@ -111,10 +111,10 @@ var NetworkSecretDialog = class extends ModalDialog.ModalDialog {
             descriptionLabel.clutter_text.line_wrap = true;
             descriptionLabel.clutter_text.ellipsize = Pango.EllipsizeMode.NONE;
 
-            messageBox.add(descriptionLabel,
-                           { y_fill:  true,
-                             y_align: St.Align.START,
-                             expand: true });
+            contentBox.messageBox.add(descriptionLabel,
+                                      { y_fill:  true,
+                                        y_align: St.Align.START,
+                                        expand: true });
         }
 
         this._okButton = { label:  _("Connect"),